#ifndef record_h
#define record_h

#import "head.h"

/*option
*/
extern bool g_OptionBgm;
extern bool g_OptionSoundex;

/*record
*/
extern bool g_RecordRate;
extern bool g_RecordLibraryTutorial;
extern bool g_RecordExperimentTutorial;

/*waepon*/
extern int g_RecordWeapSelected;
extern int g_RecordWeapLock[WEAPON_TYPE_COUNT]; /* 1 : loacked, 0 : unlocked*/

/*item*/
extern int g_RecordItemSelected[ITEM_SELECT_MAX_COUNT];
extern int g_RecordItemLock[ITEM_TYPE_COUNT];
extern int g_RecordItemCount[ITEM_TYPE_COUNT];

/*exhibition*/
extern int g_RecordExhibitionElementLock[EXHIBITION_ELEMENT_COUNT];

/*piece*/
extern int g_RecordPieceCount[PIECE_TYPE_COUNT];

/*mission*/
extern int g_RecordMissionLock[MISSION_COUNT + 1];
extern RecordMission g_RecordMission[MISSION_COUNT + 1];

/*function
*/
void RecordSave(void);
void RecordLoad(void);

int RecrodGetTotalStarCount(void);
int RecordGetChapterStarCount(int ChapterIndex);

#endif